<style type="text/css">
	.upload-icon-img{
		width:120px;
	}
	.upload-pre-item{
		position: relative;
	}
	.upload-pre-item .img{
		margin-top: 5px;
		width: 116px;
		height: 76px;
	}
	.upload-pre-item i {
		position: absolute;
		cursor: pointer;
		top: 5px;
		background: #2F4056;
		padding: 2px;
		line-height: 15px;
		text-align: center;
		color: #fff;
		margin-left: 1px;
		/* float: left; */
		filter: alpha(opacity=80);
		-moz-opacity: .8;
		-khtml-opacity: .8;
		opacity: .8;
		transition: 1s;
	}
	.upload-pre-item,.upload-icon-img{
		width:120px;
		float: left;
		margin-left: 8px;
	}
</style>
<div class="layui-form-item">
	<label class="layui-form-label">{{ $name }}</label>
	<div class="layui-input-block">
		<div class="layui-upload">
			<button type="button" class="layui-btn layui-btn-primary" id="{{ $upload_img }}"><i class="icon icon-upload3"></i>点击上传</button>
		</div>
		<div id="{{ $upload_img_list }}">
			@foreach($images as $v)
				<dd class="upload-icon-img">
					<div class="upload-pre-item">
						<i onclick="delete_img_all(this)" class="layui-icon"></i>
						<a class="example-image-link" href="{{$v['url']}}" data-lightbox="example-set" data-title="">
							<img src="{{$v['url']}}" class="img" />
						</a>
						<input type="hidden" name="images[]" value="{{$v['id']}}"/>
					</div>
				</dd>
			@endforeach
		</div>
	</div>
</div>